package com.ruleengine.destination;

import com.ruleengine.util.model.Message;
import lombok.extern.slf4j.Slf4j;

import java.util.concurrent.CompletableFuture;

@Slf4j
public class DevOnlyDestinationProvider implements IDestinationProvider {
    @Override
    public CompletableFuture<Void> send(Message message) {
        log.info("send msg: {}", message);
        return CompletableFuture.completedFuture(null);
    }

    @Override
    public void close() {
        IDestinationProvider.super.close();
    }
}
